﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UIDevCore
{
    public static class UIConst
    {
        #region Pages
        public const string Field_Range_End = "_End";
        #endregion

        #region ContentType
        public const string ContentType_Html = "text/html";
        public const string ContentType_Json = "application/json";
        #endregion

        //#region UI
        //internal const string UI_XmlKey = "{C54C4D29-638B-41BA-88B1-060DDAB56624}";
        //internal const string UI_XmlPath = "\\Config\\UI.xml";
        //internal const string UI_Node = "ui";
        //internal const string UI_NodeChildPath = "childpath";
        //internal const string UI_NodePath = "path";
        //internal const string UI_NodeChildMaster = "childmaster";
        //internal const string UI_NodeMaster = "master";

        //internal const string UI_Key = "{29BB7734-68A7-4A51-BD2A-21A857804636}";
        //internal const string UI_FileType = ".htm";
        //#endregion

        #region Fn
        internal const string Fn_XmlKey = "{6BAF952B-0D0E-4DF6-BE9B-2EF75FD262C6}";
        internal const string Fn_XmlPath = "\\Config\\FnCode.xml";
        internal const string Fn_Node = "//Fn";
        internal const string Fn_NodeName = "name";
        internal const string Fn_Roles = "roles";

        internal const string Fn_SqlNode = "//Sql";
        internal const string Fn_SqlMode = "mode";
        internal const string Fn_SqlKey = "key";
        internal const string Fn_SqlWithTran = "withtran";
        internal const string Fn_SqlCommandType = "commandtype";

        internal const string Fn_SqlConditonNode = "//Conditions";
        internal const string Fn_SqlConditonField = "checkfield";

        internal const string Fn_SqlParamNode = "//Params";
        internal const string Fn_SqlParamType = "datatype";

        internal const char Fn_SqlParamSign = '@';
        //internal const string Fn_SqlParamReg = "@[^>]+@";
        #endregion
    }
}
